/**
 * 
 */
package de.guidoludwig.jtm.domain;

import javax.persistence.Entity;

import org.hibernate.search.annotations.Indexed;

/**
 * @author guido
 *
 */
@Entity
@Indexed
public class Artist extends NamedPersistentObject {

	public static final String PROPERTY_REMARKS = "remarks"; //$NON-NLS-1$
	
	private String remarks;
	
	
	public Artist() {
		super();
	}
	
	public String getRemarks() {
		return remarks;
	}
	
	public void setRemarks(String r) {
		String oldValue = remarks;
		remarks = (r == null ? "" : r.trim()); 
		firePropertyChange(PROPERTY_REMARKS, oldValue, remarks);
	}	
}
